package command;

import org.uc3m.ed.tad.lista.ListaOrdenada;
import org.uc3m.es.Factory.panel.FactoriaPanel;

import org.uc3m.es.implementacion.Command;
import org.uc3m.es.interfaz_grafica.ventana.PanelDibujo;


public class CommandCrearListaOrdenada implements Command {

	private PanelDibujo _panel; 

	@Override
	public void execute() {

		_panel=FactoriaPanel.metodoFactoria();
		_panel.initPilaComandos();
		_panel.setEstructura(new ListaOrdenada<Integer>());
		_panel.repaint();

	}

}
